$(".deleteconnection").submit(function(){
	return confirm("Are you sure you want to delete that connection?")
})

// Colour picker
$("input#id_colour").each(function() {
	$(this).miniColors()
})

// Date picker
$('#id_defection_date').datepicker({
	format:'yyyy-mm-dd'
})